
    package summer_vacation.liulee.month7.day20150729;
    import java.util.Scanner;
    /**
     * Created by Administrator on 2015/7/29.
     */
    public class Java26 {
        public static void main(String[] args) {
            Scanner input=new Scanner(System.in);
            System.out.print("请输入三个数：");
            int a=input.nextInt();
            int b=input.nextInt();
            int c=input.nextInt();
            int Zc=a+b+c;
            if((a+b>c)&&(a+c>c)&&(b+c>a)){
                System.out.println("能构成三角形."+"周长为："+Zc);
            }
            else
                System.out.println("不能构成三角形。");
        }
    }

